<template>
  <a-back-top
    :target="target"
    :visibility-height="visibilityHeight"
  >
    <slot />
  </a-back-top>
</template>

<script>
import { defineComponent } from 'vue'
import { BackTop } from 'ant-design-vue'
export default defineComponent({
  name: 'ZBackTop',
  components: {
    ABackTop: BackTop
  },
  props: {
    valueFortargetmat: {
      type: Function,
      default: undefined
    },
    visibilityHeight: {
      type: Number,
      default: 400
    }
  }
})
</script>
